package com.beiding.workordersystem.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.beiding.workordersystem.system.dao.AuthorityDao;
import com.beiding.workordersystem.system.entity.AuthorityEntity;
import com.beiding.workordersystem.system.service.AuthorityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AuthorityServiceImpl implements AuthorityService {


    @Autowired
    private AuthorityDao authorityDao;

    @Override
    public List<AuthorityEntity> list() {
        return authorityDao.selectList(new QueryWrapper<>());
    }
}
